package com.showcai.service;

import com.github.pagehelper.PageInfo;
import com.showcai.module.Organization;
import com.showcai.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2018-8-30.
 */
public interface OrganizationService {
    void modifyOrganization(Organization  Organization) throws MyRunTimeExcption;
    void deleteOrganization(Organization  Organization) throws MyRunTimeExcption;
    void operateOrganization(Long tid) throws MyRunTimeExcption;
    List<Organization> organizationList(Map<String,String> map);
    PageInfo organizationPageList(Map<String,String> map);
    Organization selectOrganization(Long tid);
    Organization loginOrganization(Organization organization);
    void resetPassword(Long tid);
}
